package cn.t.keycloak.plugin.login.credential.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author 陶敏麒
 * @date 2023/11/15 16:33
 */
@Getter
@Setter
@NoArgsConstructor
public class SmsCredentialData {

    public SmsCredentialData(String phoneNumber) {
        this.phoneNumber = phoneNumber;
        this.createTs = System.currentTimeMillis();
    }

    private String phoneNumber;
    private long createTs;

}
